package lambda;

/**
 * @author by 何坤
 * @Classname AppleHeavyWeightPredicate
 * @Description TODO
 * @Date 2019/10/11 15:24
 */
public class AppleHeavyWeightPredicate implements ApplePredicate {
    @Override
    public boolean test(Apple apple) {
        return apple.getWeight() >= 150;
    }
}
